package com.lemon.exam.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Map;

/**
 * 阅卷判分 数据传输对象
 * 用户判分时传入的对象
 *
 * @author Lemon
 * @since 2025/05/17 10:51:17
 */
@Getter
@Setter
@ToString
@Schema(name = "阅卷判分 - 数据传输对象")
public class PaperGradingDTO {
    @Schema(description = "试卷回答ID")
    private Long answerId;

    @Schema(description = "每道题的得分 Map 对象")
    private Map<Integer, Double> questionScore;
}
